package com.mo.star.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.mo.star.pojo.Message;
import com.mo.star.vo.ChatCard;
import jakarta.servlet.http.HttpServletRequest;

import java.util.List;

/**
* @author 云赋
* @description 针对表【message(消息实体表)】的数据库操作Service
* @createDate 2024-09-06 11:38:13
*/
public interface MessageService extends IService<Message> {


    List<ChatCard> seChatCart(HttpServletRequest request);

    List<Message> messageList(String fromUserId, String toUserId);

    int doMessage(Message message);

    int doChat(String fromUserId, String toUserId);
}
